const FormRouter = [{
  path: '/form',
  component: () => import('@/layout/index.vue'),
  name: 'Form',
  redirect: '/form/validateForm',
  meta: {
    title: '超级表单',
    roles: ['super']
  },
  children: [
    {
      path: 'validateForm',
      component: () => import("@/views/form/validateForm.vue"),
      name: 'validateForm',
      meta: {
        title: '校验 Form',
      }
    },
    {
      path: 'advancedForm',
      component: () => import("@/views/form/advancedForm.vue"),
      name: 'advancedForm',
      meta: {
        title: '收缩 Form',
      }
    },
    {
      path: 'appendForm',
      component: () => import("@/views/form/appendForm.vue"),
      name: 'appendForm',
      meta: {
        title: '增删 Form',
      }
    },
  ]
}]
export default FormRouter;